package xiaozhi.modules.chat.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.util.Date;

@Data
@TableName("ai_chat_history_mem")
@Schema(description = "对话记忆表")
public class ChatMemory {
    @TableId(type = IdType.ASSIGN_UUID)
    @Schema(description = "聊天汇总ID")
    private String id;

    @Schema(description = "对话历史 ID")
    private String chat_id;

    @Schema(description = "汇总聊天描述")
    private String mem_result;

    @Schema(description = "创建时间")
    private Date create_date;
}
